package com.significantfiles.snapshot.constraints;

import java.util.TreeSet;

public class UniqueValue<T> implements IConstraintChecker<T> {

	private final TreeSet<T> dataTree = new TreeSet<T>();
	
	public boolean match( final T value ) {
		return dataTree.contains( value );
	}
	
}
